package itsm.isperp.module.entity.sparepart;

import itsm.isperp.framework.domain.BaseBean;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 描述:spt_sparepart 创建者:zhouhg 创建时间:2013/7/9
 */
@Entity
@Table(name = "spt_sparepart")
public class SptSparepart extends BaseBean {

  /**
	 * 
	 */
  private static final long serialVersionUID = 1L;

  @Column
  String code;

  @Column
  String name;

  @Column
  String model;

  @Column
  String unit;

  @Column
  Integer minStock;

  @Column
  boolean minStockUseRule;

  @Column
  String minStockUseRuleDesc;

  @Column
  int minStockUseRuleProportion;

  @Column
  int amount;

  @Column
  int inStockQuantity;

  @Column
  int outStockQuantity;

  @Column
  int backStockQuantity;

  @Column
  int discardQuantity;
  
  @Column
  int repairQuantity;
  
  @Column
  int curStockQuantity;

  @Column
  String sptSparepartCategoryId;

  @Column
  String devideNumber;

  @Column
  Date stockInDate;

  @Column
  String useStaffId;
  @Column
  String useStaffName;
  
  @Column
  String sn;
 
  @Column
  protected String supportStaffId;
  @Column
  protected String supportStaffName;
  
  @Column
  protected String manufacturer;
  
  @Column
  protected String manufacturerProviderId;
  @Column
  protected String manufacturerProviderName;
  
  @Column
  protected String status;
  
  @Column
  protected String projectId;
  @Column
  protected String projectName;
  
  @Column
  protected String remark;
  
  @Column
  protected Integer useStatus;
  
  @Column
  String location;
  
  @Column
  java.math.BigDecimal price;

  public String getCode() {
    return code;
  }

  public void setCode(String code) {
    this.code = code;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getModel() {
    return model;
  }

  public void setModel(String model) {
    this.model = model;
  }

  public String getUnit() {
    return unit;
  }

  public void setUnit(String unit) {
    this.unit = unit;
  }

  public Integer getMinStock() {
    return minStock;
  }

  public void setMinStock(Integer minStock) {
    this.minStock = minStock;
  }

  public int getAmount() {
    return amount;
  }

  public void setAmount(int amount) {
    this.amount = amount;
  }

  public int getInStockQuantity() {
    return inStockQuantity;
  }

  public void setInStockQuantity(int inStockQuantity) {
    this.inStockQuantity = inStockQuantity;
  }

  public int getOutStockQuantity() {
    return outStockQuantity;
  }

  public void setOutStockQuantity(int outStockQuantity) {
    this.outStockQuantity = outStockQuantity;
  }

  public int getDiscardQuantity() {
    return discardQuantity;
  }

  public void setDiscardQuantity(int discardQuantity) {
    this.discardQuantity = discardQuantity;
  }

  public String getSptSparepartCategoryId() {
    return sptSparepartCategoryId;
  }

  public void setSptSparepartCategoryId(String sptSparepartCategoryId) {
    this.sptSparepartCategoryId = sptSparepartCategoryId;
  }

  public boolean isMinStockUseRule() {
    return minStockUseRule;
  }

  public void setMinStockUseRule(boolean minStockUseRule) {
    this.minStockUseRule = minStockUseRule;
  }

  public String getMinStockUseRuleDesc() {
    return minStockUseRuleDesc;
  }

  public void setMinStockUseRuleDesc(String minStockUseRuleDesc) {
    this.minStockUseRuleDesc = minStockUseRuleDesc;
  }

  public int getMinStockUseRuleProportion() {
    return minStockUseRuleProportion;
  }

  public void setMinStockUseRuleProportion(int minStockUseRuleProportion) {
    this.minStockUseRuleProportion = minStockUseRuleProportion;
  }

  public int getBackStockQuantity() {
    return backStockQuantity;
  }

  public void setBackStockQuantity(int backStockQuantity) {
    this.backStockQuantity = backStockQuantity;
  }

  public String getDevideNumber() {
    return devideNumber;
  }

  public void setDevideNumber(String devideNumber) {
    this.devideNumber = devideNumber;
  }

  public Date getStockInDate() {
    return stockInDate;
  }

  public void setStockInDate(Date stockInDate) {
    this.stockInDate = stockInDate;
  }



  public String getUseStaffId() {
    return useStaffId;
  }

  public void setUseStaffId(String useStaffId) {
    this.useStaffId = useStaffId;
  }

  public String getUseStaffName() {
    return useStaffName;
  }

  public void setUseStaffName(String useStaffName) {
    this.useStaffName = useStaffName;
  }

  public String getSupportStaffId() {
    return supportStaffId;
  }

  public void setSupportStaffId(String supportStaffId) {
    this.supportStaffId = supportStaffId;
  }

  public String getSupportStaffName() {
    return supportStaffName;
  }

  public void setSupportStaffName(String supportStaffName) {
    this.supportStaffName = supportStaffName;
  }

  public String getManufacturer() {
    return manufacturer;
  }

  public void setManufacturer(String manufacturer) {
    this.manufacturer = manufacturer;
  }

  public String getManufacturerProviderId() {
    return manufacturerProviderId;
  }

  public void setManufacturerProviderId(String manufacturerProviderId) {
    this.manufacturerProviderId = manufacturerProviderId;
  }

  public String getManufacturerProviderName() {
    return manufacturerProviderName;
  }

  public void setManufacturerProviderName(String manufacturerProviderName) {
    this.manufacturerProviderName = manufacturerProviderName;
  }

  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public String getProjectId() {
    return projectId;
  }

  public void setProjectId(String projectId) {
    this.projectId = projectId;
  }

  public String getProjectName() {
    return projectName;
  }

  public void setProjectName(String projectName) {
    this.projectName = projectName;
  }

  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

  public String getSn() {
    return sn;
  }

  public void setSn(String sn) {
    this.sn = sn;
  }

  public Integer getUseStatus() {
    return useStatus;
  }

  public void setUseStatus(Integer useStatus) {
    this.useStatus = useStatus;
  }

  public String getLocation() {
    return location;
  }

  public void setLocation(String location) {
    this.location = location;
  }

  public java.math.BigDecimal getPrice() {
    return price;
  }

  public void setPrice(java.math.BigDecimal price) {
    this.price = price;
  }

  public int getRepairQuantity() {
    return repairQuantity;
  }

  public void setRepairQuantity(int repairQuantity) {
    this.repairQuantity = repairQuantity;
  }

  public int getCurStockQuantity() {
    return curStockQuantity;
  }

  public void setCurStockQuantity(int curStockQuantity) {
    this.curStockQuantity = curStockQuantity;
  }
 
}
